package com.ayf.payment.game.api.dto.player;

import com.swwx.charm.commons.lang.base.BasicTO;
import lombok.Getter;
import lombok.Setter;

import javax.security.auth.Subject;
import java.security.Principal;

/**
 * @Author: zh-liang
 * @Date : 2020-08-19 21:11
 */
@Setter
@Getter
public class PlayerLoginToken extends BasicTO implements Principal {
    private static final long serialVersionUID = 1L;
    private String phone;
    private String platformCode;
    private Integer gmId;
    private Long playerId;

    @Override
    public String getName() {
        return null;
    }

    @Override
    public boolean implies(Subject subject) {
        return false;
    }
}
